/**
 * 邮箱正则
 */
// eslint-disable-next-line no-useless-escape
export const emailPattern = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/

/**
 * 手机正则
 */
export const mobilePattern = /^1[356789][0-9]{9}$/
/**
 * 密码正则
 */
export const pwdPattern = /^[a-zA-Z0-9]{4,16}$/

/**
 * 身份证号
 */
export const idCardPattern = /^[1-9]\d{5}(18|19|20|(3\d))\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/
